﻿using RndMaterialDisposalService.Models;
using RndMaterialDisposalService.Models.RequestModel;

namespace RndMaterialDisposalService.Services.Interface
{
    public interface ICapitalCompensateReportFormService
    {
        /// <summary>
        /// 返回资产赔偿电子流报表数据（带分页）
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        List<CapitalCompensateReportFormModel> GetCapitalCompensateReportFormPageList(CapitalCompensateReportConditionModel input);

        /// <summary>
        ///返回资产赔偿电子流报表主数据
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        List<CapitalCompensateReportFormModel> GetCapitalCompensateReportFormData(CapitalCompensateReportConditionModel input);

        /// <summary>
        /// 新增资产赔偿电子流业务数据
        /// </summary>
        /// <param name="compensate"></param>
        /// <param name="compensateSubtable"></param>
        /// <returns></returns>
        Task<int> AddCapitalCompensateBusinessData(CapitalCompensateBusinessDataModel compensate, List<CapitalCompensateBusinessSubtableDataModel> compensateSubtable);
    }
}
